﻿using SPCoder.Core.Utils;
using SPCoder.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SPCoder.Facebook.Utils
{
    public class FBModule : ModuleDescription
    {
        private FBConnector _connector;
        public override BaseConnector Connector
        {
            get
            {
                if (_connector == null)
                    _connector = new FBConnector();
                return _connector;
            }
            set
            {}
        }

        public override BaseConnector GetConnector(string connectorType)
        {
            _connector = new FBConnector(connectorType);
            return _connector;
        }

        public override List<string> ConnectorTypes
        {
            get
            {
                return new List<string> { "Facebook" };
            }
            set
            {}
        }


    }
}
